package com.woniuxy.third.mapper;

import com.woniuxy.third.entity.Chapter;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ChapterMapper {
    public List<Chapter> findChaptersByCourseid(int courseid) ;
    Chapter findChapterById(int id);

    int addChapter(Chapter chapter);

    List findChapterByCourseId(int courseId);
}
